package cn.beyond.vehicleManagement.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆事故表
 */
public class VehicleAccident implements Serializable {
    private Integer id;//序号
    private Integer vehicle_id;//车辆Id
    private Integer repair_id;//维修记录Id
    private String accident_address;//事故地点
    private Integer driver_id;//驾驶员Id
    private Date accident_date;//事故时间
    private String addicent_des;//事故描述

    public VehicleAccident() {
    }

    public VehicleAccident(Integer id, Integer vehicle_id, Integer repair_id, String accident_address, Integer driver_id, Date accident_date, String addicent_des) {
        this.id = id;
        this.vehicle_id = vehicle_id;
        this.repair_id = repair_id;
        this.accident_address = accident_address;
        this.driver_id = driver_id;
        this.accident_date = accident_date;
        this.addicent_des = addicent_des;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicle_id() {
        return vehicle_id;
    }

    public void setVehicle_id(Integer vehicle_id) {
        this.vehicle_id = vehicle_id;
    }

    public Integer getRepair_id() {
        return repair_id;
    }

    public void setRepair_id(Integer repair_id) {
        this.repair_id = repair_id;
    }

    public String getAccident_address() {
        return accident_address;
    }

    public void setAccident_address(String accident_address) {
        this.accident_address = accident_address;
    }

    public Integer getDriver_id() {
        return driver_id;
    }

    public void setDriver_id(Integer driver_id) {
        this.driver_id = driver_id;
    }

    public Date getAccident_date() {
        return accident_date;
    }

    public void setAccident_date(Date accident_date) {
        this.accident_date = accident_date;
    }

    public String getAddicent_des() {
        return addicent_des;
    }

    public void setAddicent_des(String addicent_des) {
        this.addicent_des = addicent_des;
    }

    @Override
    public String toString() {
        return "VehicleAccident{" +
                "id=" + id +
                ", vehicle_id=" + vehicle_id +
                ", repair_id=" + repair_id +
                ", accident_address='" + accident_address + '\'' +
                ", driver_id=" + driver_id +
                ", accident_date=" + accident_date +
                ", addicent_des='" + addicent_des + '\'' +
                '}';
    }
}
